/*
 * Copyright (c) 2007 Compl Yue Still, All Rights Reserved.
 */

package hbi.domain.as3
{
	import flash.events.EventDispatcher;
	
	import hbi.domain.DomainController;
	
	public class AS3Domain extends EventDispatcher implements DomainController
	{

	    public function get controllerVersion():int
	    {
	        // 1.0
	        return 0x0100;
	    }
	
	    public function isControllerVersionSupported(version:int):Boolean
	    {
	        // enforce exact match here
	        return version == controllerVersion;
	    }
		
	}
	
}
